﻿<%@ Page Language="C#" MasterPageFile="~/Common/Master/Tool.master" AutoEventWireup="true" ValidateRequest="false" Inherits="Admin_Tools_GenerateCode" Title="无标题页" Codebehind="GenerateCode.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <asp:Panel ID="Panel1" runat="server" GroupingText="生成代码" Style="padding-left: 10px;
        padding-right: 10px; margin-top: 10px;">
        <div style="padding-left: 10px; padding-top: 10px; padding-bottom: 10px;">
            <asp:Label ID="Label1" runat="server" Text="连接字符串："></asp:Label>
            <asp:TextBox ID="txtConectionString" Width="396px"
                runat="server"></asp:TextBox>
        </div>
        <div style="padding-left: 10px; padding-top: 10px; padding-bottom: 10px;">
            <asp:Label ID="Label2" runat="server" Text="表名："></asp:Label>
            <asp:TextBox ID="txtTableName" runat="server" Width="125px"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label3" runat="server" Text="类名："></asp:Label>
            <asp:TextBox ID="txtClassName" runat="server" Width="100px"></asp:TextBox>&nbsp;
            <asp:DropDownList ID="drpType" runat="server">
            </asp:DropDownList>
            <asp:Button ID="btnOK" runat="server" Text="生成" OnClick="btnOK_Click" Width="68px" /></div>        
    </asp:Panel>
    <div style="padding-left: 10px; padding-right: 10px; margin-top: 10px;" id="main">
        <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Width="100%" Rows="20"
            Height="100%"></asp:TextBox></div>
</asp:Content>

